package com.zjt.smart.mvp.model;

/**
 * 事件类,全局事件类型定义在此
 */
public class Event {
    public final static int GLOBAL_EVENT_LOGIN = 10001;
    public final static int GLOBAL_EVENT_LOGOUT = 10002;
    public final static int GLOBAL_EVENT_NETWORK_CHANGE = 10003;
    public final static int GLOBAL_EVENT_DOWNLOAD_INIT = 10004;
    public final static int GLOBAL_EVENT_DOWNLOAD_SUCCESS = 10005;
    public final static int GLOBAL_EVENT_DOWNLOAD_REFRESH = 10006;
    public final static int GLOBAL_EVENT_DOWNLOAD_FAIL = 10007;
    public final static int GLOBAL_EVENT_DOWNLOAD_PROCESSING = 10008;
    public final static int GLOBAL_EVENT_PACKAGE_ADD = 10009;
    public final static int GLOBAL_EVENT_PACKAGE_REMOVE = 10010;
    public final static int GLOBAL_EVENT_SUBSCRIBE_ADD = 10011;
    public final static int GLOBAL_EVENT_SUBSCRIBE_REMOVE = 10012;
    public final static int GLOBAL_EVENT_SUBSCRIBE_REFRESH = 10013;
    public final static int GLOBAL_EVENT_CHANNEL_REFRESH = 10014;

    public final static int MESSAGE_GAME_DELETE_ALL = 20001;
    public final static int MESSAGE_COMMUNITY_DELETE_ALL = 20002;

    public final static int USER_CENTER_INFO_UPDATE = 40001;

    public final static int DISCOVERY_GOTO_LOBBY = 50001;

    public final static int COMMUNITY_FOLLOW_ADD = 60001;
    public final static int COMMUNITY_FOLLOW_REFRESH = 60002;
    public final static int COMMUNITY_SET_DEFAULT = 60003;
    public final static int COMMUNITY_SET_DEFAULT_SUCCESS = 60004;
    public final static int COMMUNITY_SEND_CARD_SUCCESS = 60005;
    public final static int COMMUNITY_COLLECTION_CARD_CHANGE = 60006;
    public final static int COMMUNITY_COMMENT_VOTE_CHANGE = 60008;

    public int what;
    public int arg1;
    public int arg2;
    public Object obj;

    public Event(int what) {
        this.what = what;
    }
}
